package com.ruoyi.system.service;

import java.util.List;
import com.ruoyi.system.domain.WarehousePermission;

import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;

/**
 * 仓库权限Service接口
 * 
 * @author ruoyi
 * @date 2025-10-09
 */
public interface IWarehousePermissionService 
{
    /**
     * 查询仓库权限
     * 
     * @param id 仓库权限主键
     * @return 仓库权限
     */
    public WarehousePermission selectWarehousePermissionById(Long id);

    /**
     * 查询仓库权限列表
     * 
     * @param warehousePermission 仓库权限
     * @return 仓库权限集合
     */
    public List<WarehousePermission> selectWarehousePermissionList(WarehousePermission warehousePermission);

    /**
     * 新增仓库权限
     * 
     * @param warehousePermission 仓库权限
     * @return 结果
     */
    public int insertWarehousePermission(HttpServletRequest request, WarehousePermission warehousePermission);

    /**
     * 修改仓库权限
     * 
     * @param warehousePermission 仓库权限
     * @return 结果
     */
    public int updateWarehousePermission(WarehousePermission warehousePermission);

    /**
     * 批量删除仓库权限
     * 
     * @param ids 需要删除的仓库权限主键集合
     * @return 结果
     */
    public int deleteWarehousePermissionByIds(Long[] ids);

    /**
     * 删除仓库权限信息
     * 
     * @param id 仓库权限主键
     * @return 结果
     */
    public int deleteWarehousePermissionById(Long id);
}
